{{$frequency := Stored.frequency}}

<div class="form-group">
        <label class="col-sm-2 control-label">{{"短信发送频率"|T}}</label>
        <div class="col-sm-8">
            <div class="fieldset bg-fc">
<div class="form-group">
    <label class="col-sm-2 control-label">{{"每日上限"|T}}</label>
    <div class="col-sm-4">
        <input type="number" class="form-control" name="frequency[mobile][value][maxPerDay]" value="{{$frequency.mobile.ValueObject.maxPerDay}}" placeholder="10" min="0">
        <div class="help-block">{{"前台每个用户每天的发送上限"|T}}</div>
    </div>
    <label class="col-sm-2 control-label">{{"间隔时长"|T}}</label>
    <div class="col-sm-4">
        <div class="input-group">
        <input type="number" class="form-control" name="frequency[mobile][value][interval]" value="{{$frequency.mobile.ValueObject.interval}}" placeholder="60" min="0">
        <span class="input-group-addon">{{"秒"|T}}</span>
        </div>
        <div class="help-block">{{"每次发送之后等待的时长"|T}}</div>
    </div>
</div>
</div><!-- fieldset -->
</div><!-- col-sm-8 -->
</div>


<div class="form-group">
    <label class="col-sm-2 control-label">{{"邮件发送频率"|T}}</label>
        <div class="col-sm-8">
            <div class="fieldset bg-fc">
<div class="form-group">
    <label class="col-sm-2 control-label">{{"每日上限"|T}}</label>
    <div class="col-sm-4">
        <input type="number" class="form-control" name="frequency[email][value][maxPerDay]" value="{{$frequency.email.ValueObject.maxPerDay}}" placeholder="10" min="0">
        <div class="help-block">{{"前台每个用户每天的发送上限"|T}}</div>
    </div>
    <label class="col-sm-2 control-label">{{"间隔时长"|T}}</label>
    <div class="col-sm-4">
        <div class="input-group">
        <input type="number" class="form-control" name="frequency[email][value][interval]" value="{{$frequency.email.ValueObject.interval}}" placeholder="60" min="0">
        <span class="input-group-addon">{{"秒"|T}}</span>
        </div>
        <div class="help-block">{{"每次发送之后等待的时长"|T}}</div>
    </div>
</div>
</div><!-- fieldset -->
</div><!-- col-sm-8 -->
</div>


<div class="form-group">
    <label class="col-sm-2 control-label">{{"发送私信"|T}}</label>
        <div class="col-sm-8">
            <div class="fieldset bg-fc">
<div class="form-group">
    <label class="col-sm-2 control-label">{{"每日上限"|T}}</label>
    <div class="col-sm-4">
        <input type="number" class="form-control" name="frequency[message][value][maxPerDay]" value="{{$frequency.message.ValueObject.maxPerDay}}" placeholder="10" min="0">
        <div class="help-block">{{"前台每个用户每天的发送上限"|T}}, {{"0代表关闭私信功能"|T}}</div>
    </div>
    <label class="col-sm-2 control-label">{{"间隔时长"|T}}</label>
    <div class="col-sm-4">
        <div class="input-group">
        <input type="number" class="form-control" name="frequency[message][value][interval]" value="{{$frequency.message.ValueObject.interval}}" placeholder="60" min="0">
        <span class="input-group-addon">{{"秒"|T}}</span>
        </div>
        <div class="help-block">{{"每次发送之后等待的时长"|T}}, {{"0代表不限制"|T}}</div>
    </div>
</div>
</div><!-- fieldset -->
</div><!-- col-sm-8 -->
</div>